package com.xiye.common.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @author 西野
 * @version V1.0
 * @title Menu.java
 * @package com.xiye.entity.system
 * @description 菜单
 * @date 2018-07-11
 */
public class Menu implements Serializable {
    private static final long serialVersionUID = 1L;
    private String MENU_ID; // 菜单ID
    private String MENU_URL; // 目录列表请求地址，用以后台判断是否具有访问列表的权限
    private String PARENT_ID; // 上级菜单ID
    private String MENU_ORDER; // 排序
    private String MENU_TYPE; // 类型
    private String MENU_STATE; // 菜单状态

    private String COMPONENT; // vue前端路由import路径
    private String PATH; // vue前端路由path
    private String TITLE; // vue前端路由title
    private String NAME; // vue前端路由name
    private String ICON; // vue前端路由icon

    private String target;
    /*private Menu parentMenu;*/
    private List<Menu> subMenu;
    private boolean hasMenu = false;

    public String getMENU_ID() {
        return MENU_ID;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public void setMENU_ID(String mENU_ID) {
        MENU_ID = mENU_ID;
    }

    public String getMENU_URL() {
        return MENU_URL;
    }

    public void setMENU_URL(String mENU_URL) {
        MENU_URL = mENU_URL;
    }

    public String getPARENT_ID() {
        return PARENT_ID;
    }

    public void setPARENT_ID(String pARENT_ID) {
        PARENT_ID = pARENT_ID;
    }

    public String getMENU_ORDER() {
        return MENU_ORDER;
    }

    public void setMENU_ORDER(String mENU_ORDER) {
        MENU_ORDER = mENU_ORDER;
    }

    /*public Menu getParentMenu() {
        return parentMenu;
    }

    public void setParentMenu(Menu parentMenu) {
        this.parentMenu = parentMenu;
    }*/

    public boolean isHasMenu() {
        return hasMenu;
    }

    public void setHasMenu(boolean hasMenu) {
        this.hasMenu = hasMenu;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getMENU_TYPE() {
        return MENU_TYPE;
    }

    public void setMENU_TYPE(String mENU_TYPE) {
        MENU_TYPE = mENU_TYPE;
    }

    public String getMENU_STATE() {
        return MENU_STATE;
    }

    public void setMENU_STATE(String mENU_STATE) {
        MENU_STATE = mENU_STATE;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public List<Menu> getSubMenu() {
        return subMenu;
    }

    public String getCOMPONENT() {
        return COMPONENT;
    }

    public void setCOMPONENT(String COMPONENT) {
        this.COMPONENT = COMPONENT;
    }

    public String getPATH() {
        return PATH;
    }

    public void setPATH(String PATH) {
        this.PATH = PATH;
    }

    public String getTITLE() {
        return TITLE;
    }

    public void setTITLE(String TITLE) {
        this.TITLE = TITLE;
    }

    public String getNAME() {
        return NAME;
    }

    public void setNAME(String NAME) {
        this.NAME = NAME;
    }

    public String getICON() {
        return ICON;
    }

    public void setICON(String ICON) {
        this.ICON = ICON;
    }

    public void setSubMenu(List<Menu> subMenu) {
        this.subMenu = subMenu;
    }
}
